#ifndef SCENEVISUALIZER_H
#define SCENEVISUALIZER_H
#include <QGraphicsScene>

class SceneVisualizer : public QGraphicsScene
{
       Q_OBJECT

public:
    SceneVisualizer();
    void drawForeground(QPainter* painter, const QRectF& rect);
    void drawHorizontalAxis(QPointF p1, QPointF p2,double strok_height, QPainter* painter);
    void drawVerticalAxis(QPointF p1, QPointF p2,double strok_height, QPainter* painter);

protected:
   void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
   void mousePressEvent(QGraphicsSceneMouseEvent *event);
   void wheelEvent(QGraphicsSceneWheelEvent *event);
};
#endif
